﻿using System;
using System.Collections.Generic;
using SharpCommon.Core;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Collections;

namespace Test
{
    [TestClass]
    public class LinkStackTest
    {
        [TestMethod]
        [ExpectedException(typeof(Exception))]
        public void PushTest()
        {
            LinkStack linkStack = new LinkStack();
            linkStack.Pop();
        }

        [TestMethod]
        public void One()
        {
            LinkStack linkStack = new LinkStack();
            linkStack.Push("123");

            foreach (object obj in linkStack)
            {

            }

            Stack<string> a = new Stack<string>();

            object data = linkStack.Pop();

            Assert.Inconclusive(data.ToString());
        }
    }
}
